package k.daniel.android.view.test;

import android.content.Context;
import android.util.AttributeSet;
import android.widget.TextView;

import k.daniel.android.view.MeasureHelper;

/**
 * Created by daniel on 2015/10/19.
 */
public class MyTextView extends TextView {
    public MyTextView(Context context) {
        super(context);
    }

    public MyTextView(Context context, AttributeSet attrs) {
        super(context, attrs);
    }

    public MyTextView(Context context, AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
    }

    @Override
    protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
        super.onMeasure(widthMeasureSpec, heightMeasureSpec);
        MeasureHelper.logMeasureInfo(this, widthMeasureSpec, heightMeasureSpec);
    }

}
